package com.eazy.lkv2.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by hpb on 2018/5/5.
 */
@Controller
public class IndexController {


    @RequestMapping("/")
    public String root(ModelMap map) {
        return "/index";
    }

    @RequestMapping("/index")
    public String index(ModelMap map) {
        return "/index";
    }

    @RequestMapping("/home")
    public String home(ModelMap map) {
        return "/index";
    }
}
